package com.application.merecipe.client;

import java.util.List;

import com.application.merecipe.shared.Recipe;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("merecipe")
public interface RecipeService extends RemoteService {
	List<Recipe> loadRecipes(String searchString);
	Recipe loadRecipe(Recipe recipe);
	Recipe saveRecipe(Recipe recipe);
	void deleteRecipe(Recipe recipe);
}
